package com.yellowpage.omc.ability.data;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * AppInterfaceParamValue entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "OMC_INTERFACE_PARAM_VALUE")
public class AppInterfaceParamValue implements java.io.Serializable {

	// Fields

	private Long paramValueId;
	private Long interfaceParamId;
	private String paramValueDiaplay;
	private String paramValue;
	private String note;
	private String status;
	private Long createUser;
	private Date createTime;
	private Long lastUpdateUser;
	private Date lastUpdateTime;
	private Long LastSynchronizationUser;
	private Date LastSynchronizationTime;
	// Constructors

	/** default constructor */
	public AppInterfaceParamValue() {
	}

	/** full constructor */
	public AppInterfaceParamValue(Long interfaceParamId,
			String paramValueDiaplay, String paramValue, String note,
			String status, Long createUser, Date createTime,
			Long lastUpdateUser, Date lastUpdateTime, Long LastSynchronizationUser, Date LastSynchronizationTime) {
		this.interfaceParamId = interfaceParamId;
		this.paramValueDiaplay = paramValueDiaplay;
		this.paramValue = paramValue;
		this.note = note;
		this.status = status;
		this.createUser = createUser;
		this.createTime = createTime;
		this.lastUpdateUser = lastUpdateUser;
		this.lastUpdateTime = lastUpdateTime;
		this.LastSynchronizationUser = LastSynchronizationUser;
		this.LastSynchronizationTime = LastSynchronizationTime;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "identity")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "PARAM_VALUE_ID", unique = true, nullable = false, precision = 18, scale = 0)
	public Long getParamValueId() {
		return this.paramValueId;
	}

	public void setParamValueId(Long paramValueId) {
		this.paramValueId = paramValueId;
	}

	@Column(name = "INTERFACE_PARAM_ID", precision = 18, scale = 0)
	public Long getInterfaceParamId() {
		return this.interfaceParamId;
	}

	public void setInterfaceParamId(Long interfaceParamId) {
		this.interfaceParamId = interfaceParamId;
	}

	@Column(name = "PARAM_VALUE_DIAPLAY", length = 512)
	public String getParamValueDiaplay() {
		return this.paramValueDiaplay;
	}

	public void setParamValueDiaplay(String paramValueDiaplay) {
		this.paramValueDiaplay = paramValueDiaplay;
	}

	@Column(name = "PARAM_VALUE", length = 28)
	public String getParamValue() {
		return this.paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	@Column(name = "NOTE", length = 512)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	@Column(name = "STATUS", length = 16)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "CREATE_USER", precision = 18, scale = 0)
	public Long getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_TIME", length = 7)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "LAST_UPDATE_USER", precision = 18, scale = 0)
	public Long getLastUpdateUser() {
		return this.lastUpdateUser;
	}

	public void setLastUpdateUser(Long lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "LAST_UPDATE_TIME", length = 7)
	public Date getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	@Column(name = "LAST_SYNCHRONIZATION_USER", precision = 18, scale = 0)
	public Long getLastSynchronizationUser() {
		return LastSynchronizationUser;
	}

	public void setLastSynchronizationUser(Long lastSynchronizationUser) {
		LastSynchronizationUser = lastSynchronizationUser;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "LAST_SYNCHRONIZATION_TIME", length = 7)
	public Date getLastSynchronizationTime() {
		return LastSynchronizationTime;
	}

	public void setLastSynchronizationTime(Date lastSynchronizationTime) {
		LastSynchronizationTime = lastSynchronizationTime;
	}

}